package com.ruoyi.process.pipemaintainence2.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 抄送流程对象 t_bpmn_copy_process
 *
 * @author Xianlu Tech
 * @date 2019-12-05
 */
public class TBpmnCopyProcess extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 抄送人id */
    @Excel(name = "抄送人id")
    private String userId;

    /** 流程实例id */
    @Excel(name = "流程实例id")
    private String processInstanceId;

    /** 业务主键 */
    @Excel(name = "业务主键")
    private String bussinessKey;

    /** 对应的表名 */
    @Excel(name = "对应的表名")
    private String tableName;

    /** 流程定义id */
    @Excel(name = "流程定义id")
    private String processDefId;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }
    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }
    public void setBussinessKey(String bussinessKey) {
        this.bussinessKey = bussinessKey;
    }

    public String getBussinessKey() {
        return bussinessKey;
    }
    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableName() {
        return tableName;
    }
    public void setProcessDefId(String processDefId) {
        this.processDefId = processDefId;
    }

    public String getProcessDefId() {
        return processDefId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("processInstanceId", getProcessInstanceId())
            .append("bussinessKey", getBussinessKey())
            .append("tableName", getTableName())
            .append("processDefId", getProcessDefId())
            .toString();
    }
}
